SQL Antipatterns: Avoiding the Pitfalls of Database Programming by Bill Karwin
Author:Bill Karwin [Karwin, Bill]
Language: eng
Format: epub, pdf
Tags: Computers, Non-Fiction, Programming Languages, SQL, Technology
ISBN: 9781934356555
Google: Ghr4RAAACAAJ
Amazon: 1934356557
Publisher: Pragmatic Bookshelf
Published: 2010-01-15T00:00:00+00:00
You might think that the next query returns the complementary set of rows, that is, all rows not returned by the previous query:
Fear-Unknown/anti/search-not.sql
SELECT * FROM Bugs WHERE NOT (assigned_to = 123);
However, neither query result includes rows where assigned_to is null. Any comparison to null returns unknown, not true or false. Even the negation of null is still null.
It's common to make the following mistakes searching for null values or non-null values:
Fear-Unknown/anti/equals-null.sql
SELECT * FROM Bugs WHERE assigned_to = NULL;
Download
SQL Antipatterns: Avoiding the Pitfalls of Database Programming by Bill Karwin.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Coding Theory | Localization |
Logic | Object-Oriented Design |
Performance Optimization | Quality Control |
Reengineering | Robohelp |
Software Development | Software Reuse |
Structured Design | Testing |
Tools | UML |
Deep Learning with Python by François Chollet(12437)
Hello! Python by Anthony Briggs(9784)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9676)
The Mikado Method by Ola Ellnestam Daniel Brolund(9669)
Dependency Injection in .NET by Mark Seemann(9211)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8178)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7670)
Grails in Action by Glen Smith Peter Ledbrook(7591)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7431)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(6557)
Microservices with Go by Alexander Shuiskov(6314)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6302)
Practical Design Patterns for Java Developers by Miroslav Wengner(6226)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6200)
Angular Projects - Third Edition by Aristeidis Bampakos(5543)
The Art of Crafting User Stories by The Art of Crafting User Stories(5127)
NetSuite for Consultants - Second Edition by Peter Ries(5080)
Kotlin in Action by Dmitry Jemerov(4941)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(4877)
